package calorie.com.calorie.response;

import java.util.List;

public class InviteFriendResponce {


    /**
     * code : 200
     * msg : success
     * data : {"subordinateCount":3,"subordinate":[{"level":"null","time":"null","community":"0","userId":"1","account":"jack","speed":"0"},{"level":"null","time":"null","community":"0","userId":"2","account":"lucy","speed":"0"},{"level":"null","time":"null","community":"0","userId":"5","account":"123456","speed":"0"},{"level":"null","time":"null","community":"0","userId":"6","account":"123456","speed":"0"},{"level":"null","time":"null","community":"0","userId":"7","account":"maike","speed":"0"},{"level":"null","time":"null","community":"0","userId":"8","account":"tim","speed":"0"},{"level":"null","time":"null","community":"0","userId":"9","account":"rokie","speed":"0"},{"level":"null","time":"null","community":"0","userId":"11","account":"vitor123456","speed":"0"}],"community":8}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * subordinateCount : 3
         * subordinate : [{"level":"null","time":"null","community":"0","userId":"1","account":"jack","speed":"0"},{"level":"null","time":"null","community":"0","userId":"2","account":"lucy","speed":"0"},{"level":"null","time":"null","community":"0","userId":"5","account":"123456","speed":"0"},{"level":"null","time":"null","community":"0","userId":"6","account":"123456","speed":"0"},{"level":"null","time":"null","community":"0","userId":"7","account":"maike","speed":"0"},{"level":"null","time":"null","community":"0","userId":"8","account":"tim","speed":"0"},{"level":"null","time":"null","community":"0","userId":"9","account":"rokie","speed":"0"},{"level":"null","time":"null","community":"0","userId":"11","account":"vitor123456","speed":"0"}]
         * community : 8
         */

        private int subordinateCount;
        private int community;
        private int remove;

        public int getRemove() {
            return remove;
        }

        public void setRemove(int remove) {
            this.remove = remove;
        }

        private List<SubordinateBean> subordinate;

        public int getSubordinateCount() {
            return subordinateCount;
        }

        public void setSubordinateCount(int subordinateCount) {
            this.subordinateCount = subordinateCount;
        }

        public int getCommunity() {
            return community;
        }

        public void setCommunity(int community) {
            this.community = community;
        }

        public List<SubordinateBean> getSubordinate() {
            return subordinate;
        }

        public void setSubordinate(List<SubordinateBean> subordinate) {
            this.subordinate = subordinate;
        }

        public static class SubordinateBean {
            /**
             * level : null
             * time : null
             * community : 0
             * userId : 1
             * account : jack
             * speed : 0
             */

            private int level;
            private String time;
            private String community;
            private String userId;
            private String account;
            private String speed;


            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getCommunity() {
                return community;
            }

            public void setCommunity(String community) {
                this.community = community;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }

            public String getSpeed() {
                return speed;
            }

            public void setSpeed(String speed) {
                this.speed = speed;
            }
        }
    }
}
